package org.springblade.modules.repair.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 用户通知表实体类
 *
 * @author ysq
 * @since 2024-04-01
 */
@Data
@TableName("blade_user_notice")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "UserNotice对象", description = "用户通知表")
public class UserNotice extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 用户id
	*/
	@ApiModelProperty(value = "用户id")
	private Long userId;

	/**
	* 通知id
	*/
	@ApiModelProperty(value = "通知id")
	private Long noticeId;

	/**
	 * 类型，表示：是否已读：0-未读，1-已读
	 */
	@ApiModelProperty(value = "是否已读：0-未读，1-已读")
	private Integer category;


}
